package com.talent.proxy.mysql.common;

/**
 * 
 * <div class="informaltable"><table class="informaltable" border="1">
<colgroup>
<col class="col-1">
<col class="col-2">
<col class="col-3">
</colgroup>
<thead><tr>
<th scope="col">Flag</th>
<th scope="col">Value</th>
<th scope="col">Comment</th>
</tr></thead>
<tbody>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_IN_TRANS"></a><code class="literal">SERVER_STATUS_IN_TRANS</code>
</td>
<td>0x0001</td>
<td>a transaction is active</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_AUTOCOMMIT"></a><code class="literal">SERVER_STATUS_AUTOCOMMIT</code>
</td>
<td>0x0002</td>
<td>auto-commit is enabled</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_MORE_RESULTS_EXISTS"></a><code class="literal">SERVER_MORE_RESULTS_EXISTS</code>
</td>
<td>0x0008</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_NO_GOOD_INDEX_USED"></a><code class="literal">SERVER_STATUS_NO_GOOD_INDEX_USED</code>
</td>
<td>0x0010</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_NO_INDEX_USED"></a><code class="literal">SERVER_STATUS_NO_INDEX_USED</code>
</td>
<td>0x0020</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_CURSOR_EXISTS"></a><code class="literal">SERVER_STATUS_CURSOR_EXISTS</code>
</td>
<td>0x0040</td>
<td>Used by <a class="link" href="binary-protocol-resultset.html" title="14.7.1&nbsp;Binary Protocol Resultset"><code class="literal">Binary
                  Protocol Resultset</code></a> to signal that
                  <a class="link" href="com-stmt-fetch.html#packet-COM_STMT_FETCH"><code class="literal">COM_STMT_FETCH</code></a>
                  must be used to fetch the row-data.</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_LAST_ROW_SENT"></a><code class="literal">SERVER_STATUS_LAST_ROW_SENT</code>
</td>
<td>0x0080</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_DB_DROPPED"></a><code class="literal">SERVER_STATUS_DB_DROPPED</code>
</td>
<td>0x0100</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_NO_BACKSLASH_ESCAPES"></a><code class="literal">SERVER_STATUS_NO_BACKSLASH_ESCAPES</code>
</td>
<td>0x0200</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_METADATA_CHANGED"></a><code class="literal">SERVER_STATUS_METADATA_CHANGED</code>
</td>
<td>0x0400</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_QUERY_WAS_SLOW"></a><code class="literal">SERVER_QUERY_WAS_SLOW</code>
</td>
<td>0x0800</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_PS_OUT_PARAMS"></a><code class="literal">SERVER_PS_OUT_PARAMS</code>
</td>
<td>0x1000</td>
<td>&nbsp;</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_STATUS_IN_TRANS_READONLY"></a><code class="literal">SERVER_STATUS_IN_TRANS_READONLY</code>
</td>
<td>0x2000</td>
<td>in a read-only transaction</td>
</tr>
<tr>
<td scope="row">
<a name="flag-SERVER_SESSION_STATE_CHANGED"></a><code class="literal">SERVER_SESSION_STATE_CHANGED</code>
</td>
<td>0x4000</td>
<td>connection state information has changed</td>
</tr>
</tbody>
</table></div>
 *
 */
public class StatusFlags
{


	public static final int SERVER_STATUS_IN_TRANS = 0x0001;//	a transaction is active
	public static final int SERVER_STATUS_AUTOCOMMIT = 0x0002;//	Server in auto_commit mode
	public static final int SERVER_MORE_RESULTS_EXISTS = 0x0008;//	 Multi query - next query exists
	public static final int SERVER_STATUS_NO_GOOD_INDEX_USED = 0x0010;//	 
	public static final int SERVER_STATUS_NO_INDEX_USED = 0x0020;//	 
	public static final int SERVER_STATUS_CURSOR_EXISTS = 0x0040;//	Used by Binary Protocol Resultset to signal that COM_STMT_FETCH must be used to fetch the row-data.
	public static final int SERVER_STATUS_LAST_ROW_SENT = 0x0080;//	 
	public static final int SERVER_STATUS_DB_DROPPED = 0x0100;// 
	public static final int SERVER_STATUS_NO_BACKSLASH_ESCAPES = 0x0200;//
	public static final int SERVER_STATUS_METADATA_CHANGED = 0x0400;// 
	public static final int SERVER_QUERY_WAS_SLOW = 0x0800;//
	public static final int SERVER_PS_OUT_PARAMS = 0x1000;// 
	public static final int SERVER_STATUS_IN_TRANS_READONLY = 0x2000;//	in a read-only transaction
	public static final int SERVER_SESSION_STATE_CHANGED = 0x4000;//	connection state information has changed

}
